
    <div class="box box_add">
        <div class="post">
            <div class="hd"><h2>添加视频</h2></div>
            <div class="bd">
                <pre>[%-JSON.stringify(data,undefined,4)%]</pre>
                <div class="form">
                    <form action="" method="post" enctype="application/x-www-form-urlencoded">
                        <p><label><b>media:</b><input name="mediaUri" type="text" /></label></p>
                        <input type="hidden" name="mediaType" value="video" />
                        <input type="hidden" name="author" value="[%if(typeof user != 'undefined' && user.username){%][%-user._id%][%}%]" />
                        <input type="submit" />
                    </form>
                </div>
            </div>
        </div>
    </div>

    <div class="box box_add">
        <div class="post">
            <div class="hd"><h2>添加图片</h2></div>
            <div class="bd">
                <pre>[%-JSON.stringify(data,undefined,4)%]</pre>
                <div class="form">
                    <form action="" method="post" enctype="application/x-www-form-urlencoded">
                        <p><label><b>media:</b><input name="mediaUri" type="text" /></label></p>
                        <p><label><b>title:</b><input name="title" type="text" /></label></p>
                        <p><label><b>description:</b><input name="description" type="text" /></label></p>
                        <p><label><b>tags:</b><input name="tags" type="text" /></label></p>
                        <p><label><b>来源:</b><input name="source" type="text" /></label></p>
                        <input type="hidden" name="mediaType" value="image" />
                        <input type="hidden" name="author" value="[%if(typeof user != 'undefined' && user.username){%][%-user._id%][%}%]" />
                        <input type="submit" />
                    </form>
                </div>
            </div>
        </div>
    </div>